package com.example.androidtest.work3.uri;

import android.content.ContentResolver;
import android.net.Uri;
import android.os.Bundle;
import android.provider.ContactsContract;

import androidx.appcompat.app.AppCompatActivity;

import com.example.androidtest.R;

public class Main2Activity extends AppCompatActivity {
    private ContentResolver contentResolver;

    /**
     * 管理联系人的uri
     */
    private Uri contactsUri = ContactsContract.Contacts.CONTENT_URI;

    private Uri phoneUri = ContactsContract.CommonDataKinds.Phone.CONTENT_URI;// 管理联系人的电话的Uri

    private Uri emailUri = ContactsContract.CommonDataKinds.Email.CONTENT_URI;// 管理联系人的Email的Uri

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_uri);


    }
}
